<template>
	<view class="padb30">
		<stop isBack>
			<block slot="content">设置</block>
			<block slot="backText">返回</block>
		</stop>
		<view class="mart3 bcf flrc pos-r" @tap="goto('/pages/common/user/password')">
			<view class="flex1 pad3">修改密码</view>
			<view class="fa fa-angle-right marr3"></view>
			<ripple></ripple>
		</view>
		<view class="mart3 bcf flrc pos-r" @tap="clearAll">
			<view class="flex1 pad3">清空缓存</view>
			<view class="fa fa-warning marr3 c03"></view>
			<ripple></ripple>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			clearAll(){
				uni.clearStorage();
				this.$com.showToast('清理完成请重启APP')
				this.$win.gohome()
			}
		}
	}
</script>

<style>

</style>
